﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="register.aspx.cs" Inherits="users_register" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxtoolkit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Register</title>
     <link href="../styles/style.css" rel="stylesheet" type="text/css" /> 
</head>
<body>
       <form id="form1" runat="server">

    <div class="wrapper">
         <div id="header">
		<h1 class="logo">
        <a href="../index.aspx">
        	<img src="../images/logo.png" width="280" height="50" border="0" /></a>
        
        </h1>
        </div>
     <div class="clear"></div>

    <br /><br />
    <div class="main_content2">
       <div style="margin-top:-8px;">
             <img src="../images/register.png" width="900" height="77" />
           </div>
           <br /><br />
           <table width="80%" align="center" class="class_table">
                                    
                    <tr>
                        <td align="left">Họ tên:</td>
                        
                        
                        <td align="left">
                      
                            <asp:TextBox ID="txtFullname" runat="server" CssClass="box" Width="313px">
                            </asp:TextBox>
                            <span style="color:#b01f24">
                            <strong>
                            (*)
                            </strong>
                                </span>
                      </td>
                        
                        
                    </tr>
                
                
                    <tr>
                        <td align="left">Tên đăng nhập:</td>
                        
                        
                        <td align="left">
                    
                            <asp:TextBox ID="txtUserName" runat="server" CssClass="box" Width="313px"></asp:TextBox>
                            
                            <span style="color:#b01f24">
                            <strong>
                            (*)
                            </strong>
                                </span>
                          </td>
                        
                        
                    </tr>
                
                
                    <tr>
                        <td align="left">Địa chỉ email:</td>
                        
                        
                        <td align="left">
                            
                            <asp:TextBox ID="txtEmail" runat="server" CssClass="box" Width="313px"></asp:TextBox>
                            <span style="color:#b01f24">
                            <strong>
                            (*)
                            </strong>
                                </span>
                            </td>
                        
                        
                    </tr>
                
                
                    <tr>
                        <td align="left">Password:</td>
                        
                        
                        <td align="left">
 
                            <strong>
                            <asp:TextBox ID="txtPassword" runat="server" CssClass="box" Width="313px" TextMode="Password">
                            </asp:TextBox>
                            </strong><span style="color:#b01f24">
                            <strong>
                            (*)
                            </strong>
                                </span>
                        </td>
                        
                                     
                    <tr>
                        <td align="left">Confirm password:</td>
                        
                        
                        <td align="left">
                 
                            <asp:TextBox ID="txtConfirmPassword" runat="server" CssClass="box" Width="313px" TextMode="Password"></asp:TextBox>
                            <span style="color:#b01f24">
                            <strong>
                            (*)
                            </strong>
                                </span>
                        </td>
                        
                                     
                    <tr>
                        <td align="left">Phòng ban:</td>
                        
                        
                        <td align="left">
                 
                    <asp:DropDownList ID="cbPhongBan" runat="server" EnableTheming="True" 
                                CssClass="combox_nghiphep" >
                    </asp:DropDownList>
                        </td>
                        
                                     
                    <tr>
                        <td align="left">&nbsp;</td>
                        
                        
                        <td align="left">
                            &nbsp;</td>
                        
                                                          
                    <tr>
                        <td align="left">&nbsp;</td>
                        
                        
                        <td align="left">
                            <asp:Button ID="btnSave" runat="server" CssClass="button white" 
                                Text="Đăng ký" Width="80px" onclick="btnSave_Click" />
               
    
        <ajaxtoolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </ajaxtoolkit:ToolkitScriptManager>
       
    
                        </td>
                        
                     </table>   
                        
        <asp:Panel ID="panelEdit" runat="server">    
         <br />
            <table style="width: 400px; background-color: #ffffdd;filter: alpha(opacity=0.9);opacity: 0.9;" >
            <tr>
                <td>
                
                  <p>
                    <h4>
                     <%Response.Write(strMessage); %>
                    </h4>
                      <p>
                      </p>
                </p> 
                
                </td>
                
            
            </tr>
            <tr>
            
              <td>
               <asp:Button ID="btnOK" runat="server" CssClass="button white" 
                              onclick="btnOK_Click" Text="OK" 
                              Width="59px" />
              </td>
            </tr>
         </table>
        </asp:Panel>
        
         <asp:LinkButton ID="lnkFake" runat="server"></asp:LinkButton>
        <ajaxtoolkit:modalpopupextender  ID="popupMessage" runat="server"
                     PopupControlID="panelEdit" TargetControlID="lnkFake" />
       
    
     </div>
     
</div>     
     </form>
</body>
</html>
